<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3//EN">
<HTML><HEAD>
<TITLE>IBM Visualization Data Explorer Programmer&#39;s Reference</TITLE>

<META HTTP-EQUIV="abstract" CONTENT="IBM Visualization Data Explorer
Programmer&#39;s Reference">
<META HTTP-EQUIV="contact" CONTENT="IBM Visualization Data Explorer
(ibmdx@watson.ibm.com)">
<META HTTP-EQUIV="owner" CONTENT="IBM Visualization Data Explorer
(ibmdx@watson.ibm.com)">
<META HTTP-EQUIV="updated" CONTENT="Tue, 16 Sep 1997 ">
<META HTTP-EQUIV="review" CONTENT="Fri, 14 Aug 1998 ">

<META HTTP-EQUIV="keywords" CONTENT="GRAPHICS VISUALIZATION VISUAL PROGRAM DATA
MINING">
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
</HEAD><BODY BGCOLOR="#FFFFFF">

<A NAME="Top_Of_Page"></A>
<H1>IBM Visualization Data Explorer Programmer&#39;s Reference</H1>
<B>&#91; <A HREF="#Bot_Of_Page">Bottom of Page</A> &#124; <A
HREF="progu010.htm">Previous Page</A> &#124; <A HREF="progu012.htm">Next
Page</A> &#124; <A HREF="../proguide.htm#ToC">Table of Contents</A> &#124; <A
HREF="progu009.htm#PToC3">Partial Table of Contents</A> &#124; <A
HREF="progu344.htm#HDRINDEX_START">Index</A> &#93;</B><HR><P>

<HR>
<H2><A NAME="Header_17" HREF="progu009.htm#PToC_17">1.3 Writing a Stand-alone
Program Using Data Explorer Modules</A></H2>
<P>You may want to write a stand-alone program which directly uses Data Explorer
modules. You would link to the libDXcallm.a library, and use
DXCallModule to call individual Data Explorer. In this case, as with the
previous
one, your stand-alone program "owns main". Note that you can do
complete visualization programs in this way, from Import to Isosurface
to Display from within your own program. However, you will
<B>not</B> be getting the functionality of the Data Explorer Executive in
this case, including cache management, and control of execution order.
You will, in addition, be responsible for deleting objects when you are
finished using them. Note that with the SuperviseWindow and
SuperviseState modules (see <A
HREF="refgu153.htm#HDRSUPWIND">SuperviseWindow</A> and
<A HREF="refgu152.htm#HDRSUPSTAT">SuperviseState</A> in <I>IBM Visualization
Data Explorer User&#39;s Reference</I>), direct manipulation within the
Image window is available without the Image tool, so that a program
using DXCallModule can provide direct interaction with objects.
<P>
Examples of stand-alone programs including <TT>.c</TT> files and
makefiles which use the CallModule library can be found in
<TT>/usr/local/dx/samples/callmodule</TT>. Graphically, this is
represented by the lower "User Program" in <A HREF="progu009.htm#FIGARCH">Figure
1</A>,
which embeds Data Explorer module routines into the user's program.

<P><HR><B>&#91; <A HREF="#Top_Of_Page">Top of Page</A> &#124; <A
HREF="progu010.htm">Previous Page</A> &#124; <A HREF="progu012.htm">Next
Page</A> &#124; <A HREF="../proguide.htm#ToC">Table of Contents</A> &#124; <A
HREF="progu009.htm#PToC3">Partial Table of Contents</A> &#124; <A
HREF="progu344.htm#HDRINDEX_START">Index</A> &#93;</B> <br><b>&#91;<a
href="../allguide.htm">Data Explorer Documentation</a>&nbsp;&#124;&nbsp;<a
href="../qikguide.htm">QuickStart Guide</a>&nbsp;&#124;&nbsp;<a
href="../usrguide.htm">User&#39;s Guide</a>&nbsp;&#124;&nbsp;<a
href="../refguide.htm">User&#39;s Reference</a>&nbsp;&#124;&nbsp;<a
href="../proguide.htm">Programmer&#39;s Reference</a>&nbsp;&#124;&nbsp;<a
href="../insguide.htm">Installation and Configuration
Guide</a>&nbsp;&#93;</b><br><p><b>&#91;<a
href="http://www.research.ibm.com/dx">Data Explorer Home
Page</a>&#93;</b><p><HR ALIGN=LEFT WIDTH=600><b>&#91;<A
HREF="http://www.ibm.com/">IBM Home Page</A>&nbsp;&#124;&nbsp;<A
HREF="http://www.ibm.com/Orders/">Order</A>&nbsp;&#124;&nbsp;<A
HREF="http://www.ibm.com/Search/">Search</A>&nbsp;&#124;&nbsp;<A
HREF="http://www.ibm.com/Assist/">Contact IBM</A>&nbsp;&#124;&nbsp;<A
HREF="http://www.ibm.com/Legal/">Legal</A>&nbsp;&#93;</b><hr><p>
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>
